package cn.tedu.malldemo.service.impl;

import cn.tedu.malldemo.entity.User;
import cn.tedu.malldemo.mapper.UserMapper;
import cn.tedu.malldemo.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liuzhihao
 * @since 2022-08-03
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public String selectPermissionById(Long id){
        return userMapper.selectUserPermissionById(id);
    }
}
